<?php
class Delivery_Model_DbTable_ActionsLogParams
	extends Delivery_Model_DbTable_Abstract

{
	protected $_name = 'log_actions_params';
	protected $_primary = array('idLog', 'key');

	public function multiInsert( $actionLog ){
		
		foreach($actionLog->params as $key=>$value){
			parent::insert(	
				array( 'idlog' => $actionLog->idLog, 'key' => $key, 'value'=> $value)
			);
		}
	}
	
	

}